#include <wx/wx.h>

#include "gui.h"

class VCClientApp : public wxApp
{
public:
	virtual bool OnInit();
	virtual int OnExit();
};

IMPLEMENT_APP(VCClientApp);
DECLARE_APP(VCClientApp);

bool VCClientApp::OnInit()
{
	bool wxsOK = wxApp::OnInit();
	if (wxsOK)
	{
		wxInitAllImageHandlers();
		VCClientFrame * frame = new VCClientFrame(wxT("Voice chat client"));
		frame->Show();
	}
	return wxsOK;
}

int VCClientApp::OnExit()
{
	return wxApp::OnExit();
}

